<%@ Control Inherits="CVCommunity.Admin.DeletedTopics" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%> 

<script language="javascript">
function chkAllBox()
{
	var f = document.forms[0];
	var ischecked = f.checkall.checked;
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = ischecked;
		}
	}
}
</script>
 
<form id="operate" runat="server">
<div class="grid">
<table cellspacing="0" width="100%">
<tr class="forumno category">
<td width="40"></td>
<td>标题</td>
<td width="50" align="center">回帖</td>
<td width="120">所属版面</td>
<td width="120">作者</td>
<td width="120">发表时间</td>
</tr>
<asp:Repeater enableviewstate="false" id="list" runat="server">
<ItemTemplate>
<tr class="forumtd" style="font-size:12px;">
<td align="center"><forum:Span id="primarykey" runat="server"/></td>
<td><forum:Anchor id="title" target="_blank" runat="server"/></td>
<td align="center"><forum:Span id="replies" runat="server"/></td>
<td><forum:Anchor id="board" target="_blank" runat="server"/></td>
<td><forum:Anchor id="name" runat="server"/></td>
<td><forum:Span id="addtime" runat="server"/></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr class="forumtd" style="background:#FFF; color:#990000">
<td align="center"><input name="checkall" style="border:none;" id="checkall" type="checkbox" class="nogrid" onclick="chkAllBox()" /></td>
<td colspan="5">&nbsp;
<input type="radio" class="smallbox" name="option" checked="true"  value="1"/>
<label for="restore">还原到论坛中</label>
&nbsp;
<input type="radio" class="smallbox" name="option" value="2"/>
<label for="remove">彻底删除</label>
&nbsp; &nbsp;
<input type="submit" class="button" value="执 行" onclick="return confirm('确定吗?')" />
&nbsp;
<forum:Span id="result" class="t2" runat="server"/>
</td>
</tr>
<tr class="forumtd">
<td colspan="6">
<div class="right">&nbsp;&nbsp;</div><forum:Pager id="pager" per="20" runat="server"/></td>
</tr>
</table>
</div>
</form>